import App from './App'
import MyIcon from './components/icon.vue';

// #ifndef VUE3
import Vue from 'vue'
import store from 'store';
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$store = store;
Vue.prototype.$statusbarHeight = uni.getSystemInfoSync().statusBarHeight;
Vue.component('my-icon', MyIcon);
const app = new Vue({
	store,
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif